#ifndef _WX_TIPDLG_H_
#define _WX_TIPDLG_H_

#include "wx/defs.h"

#if wxUSE_STARTUP_TIPS

#include "wx/textfile.h"

class wxTipProvider {
  public:
    wxTipProvider( size_t currentTip ) { m_currentTip = currentTip; }
    virtual wxString GetTip() = 0;
    size_t GetCurrentTip() const { return m_currentTip; }
    virtual wxString PreprocessTip( const wxString& tip ) { return tip; }
    virtual ~wxTipProvider() { }
  protected:
    size_t m_currentTip;
};

wxTipProvider *wxCreateFileTipProvider( const wxString& filename,
                                        size_t currentTip );

bool wxShowTip( wxWindow *parent, wxTipProvider *tipProvider, bool showAtStartup = true );

#endif // wxUSE_STARTUP_TIPS

#endif // _WX_TIPDLG_H_
